package com.ctshk.rpc.system.service;


import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.system.dto.MainDataTeaPartyPlaceDTO;
import com.ctshk.rpc.system.req.MainDataTeaPartyPlaceIdReq;
import com.ctshk.rpc.system.req.MainDataTeaPartyPlaceListReq;
import com.ctshk.rpc.system.req.MainDataTeaPartyPlaceReq;

/**
 * <p>
 * 茶會地點表 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-17
 */
public interface IMainDataTeaPartyPlaceService  {

    /**
     * 新增茶會地點
     * @param req
     * @param tokenUser
     * @return
     */
    Result add(MainDataTeaPartyPlaceReq req, TokenUser tokenUser);

    /**
     * 編輯茶會地點
     * @param req
     * @param tokenUser
     * @return
     */
    Result update(MainDataTeaPartyPlaceReq req, TokenUser tokenUser);

    /**
     * 查看茶會地點
     * @param req
     * @return
     */
    MainDataTeaPartyPlaceDTO query(MainDataTeaPartyPlaceIdReq req);

    /**
     * 查看茶會地點
     * @param req
     * @return
     */
    PageResponse<MainDataTeaPartyPlaceDTO> list(MainDataTeaPartyPlaceListReq req);
}
